package com.hanthink.system.domain.repair;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hanthink.common.annotation.Excel;

import java.util.Date;

/**
 * @author Administrator 维修计划
 */
public class RepairTask {

    /**
     * 维修计划id
     */
    private Long id;
    /**
     * 设备Key
     */
    private String equipno;
    /**
     * 设备名称
     */
    private String equipname;
    /**
     * 原因
     */
    private String reason;
    /**
     * 更换部件
     */
    private String changeparts;
    /**
     * 周期
     */
    private String cycle;
    /**
     * 是否生效
     */
    private String isused;
    /**
     * 状态
     */
    private String status;

    private String piclist;
    private String hangameKey;
    private String siteKey;
    private String troublecontent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nextExecuteTime;
    private String creator;

    /** 开始执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始执行时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束执行时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public String getEquipno() {
        return equipno;
    }

    public void setEquipno(String equipno) {
        this.equipno = equipno;
    }

    public String getEquipname() {
        return equipname;
    }

    public void setEquipname(String equipname) {
        this.equipname = equipname;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getChangeparts() {
        return changeparts;
    }

    public void setChangeparts(String changeparts) {
        this.changeparts = changeparts;
    }
    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }
    public String getIsused() {
        return isused;
    }

    public void setIsused(String isused) {
        this.isused = isused;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getPiclist() {
        return piclist;
    }

    public void setPiclist(String piclist) {
        this.piclist = piclist;
    }
    public String getHangameKey() {
        return hangameKey;
    }

    public void setHangameKey(String hangameKey) {
        this.hangameKey = hangameKey;
    }
    public String getSiteKey() {
        return siteKey;
    }

    public void setSiteKey(String siteKey) {
        this.siteKey = siteKey;
    }
    public String getTroublecontent() {
        return troublecontent;
    }

    public void setTroublecontent(String troublecontent) {
        this.troublecontent = troublecontent;
    }
    public Date getNextExecuteTime() {
        return nextExecuteTime;
    }

    public void setNextExecuteTime(Date nextExecuteTime) {
        this.nextExecuteTime = nextExecuteTime;
    }
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getEndTime() {
        return endTime;
    }

}
